﻿package component.validate.dao;

import java.sql.Connection;
import java.sql.SQLException;

import component.validate.exception.ValidateException;


public interface IValidateConnection {
	/**
	 * 获取连接
	 * @return
	 * @throws SQLException 
	 */
	public Connection getConnection() throws ValidateException;
	
	/**
	 * 关闭连接
	 * @throws SQLException 
	 */
	public void close() throws ValidateException;
}
